use std::collections::HashSet;

struct Solution {}

fn main() {}

impl Solution {
    pub fn minimized_string_length(s: String) -> i32 {
        let mut char_set: HashSet<char> = HashSet::from_iter(s.chars());
        char_set.len() as i32
    }
}